package com.example.javaproject;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;

public class Afff {


    public static void main(String[] args) {

//        CompletableFuture.supplyAsync(() -> {
//            try {
//                System.out.println(Thread.currentThread().getName());
//                Thread.sleep(2000);
//            } catch (InterruptedException e) {
//                e.printStackTrace();
//            }
//            return "11";
//        }).thenAccept(s -> {
//            System.out.println(Thread.currentThread().getName());
//            System.out.println(s);
//        });
//
//        try {
//            Thread.sleep(3000);
//        } catch (InterruptedException e) {
//            e.printStackTrace();
//        }
//
//        System.out.println("i am in main thread");

        int a = 14;
        a = a >>> 2;

        System.out.println(a + "-----");
    }
}
